home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
psc.man
< prev
next >
Wrap
Text File
|
1992-02-25
|
3KB
|
133 lines
PSC UNKNOWN MANUAL SECTION PSC
6.19 1
NNAAMMEE
psc - prepare sc files
SSYYNNOOPPSSIISS
ppsscc [ -_f_L_k_r_S_P_v ] [ -_s _c_e_l_l ] [ -_R _n ] [ -_C _n ] [ -_n _n ] [ -_d
_c ]
DDEESSCCRRIIPPTTIIOONN
_P_s_c is used to prepare data for input to the spread sheet
calculator _s_c(_1). It accepts normal ascii data on standard
input. Standard output is a _s_c file. With no options, _p_s_c
starts the spread sheet in cell A0. Strings are right jus-
tified. All data on a line is entered on the same row; new
input lines cause the output row number to increment by one.
The default delimiters are tab and space. The column for-
mats are set to one larger than the number of columns
required to hold the largest value in the column.
Options:
-f Omit column width calculations. This option is for
preparing data to be merged with an existing
spreadsheet. If the option is not specified, the
column widths calculated for the data read by _p_s_c will
override those already set in the existing spreadsheet.
-L Left justify strings.
-k Keep all delimiters. This option causes the output
cell to change on each new delimiter encountered in the
input stream. The default action is to condense mul-
tiple delimters to one, so that the cell only changes
once per input data item.
-r Output the data by row first then column. For input
consisting of a single column, this option will result
in output of one row with multiple columns instead of a
single column spread sheet.
-s cell
Start the top left corner of the spread sheet in _c_e_l_l.
For example, -_s _B_3_3 will arrange the output data so
that the spread sheet starts in column B, row 33.
Sprite v1.0 1
PSC UNKNOWN MANUAL SECTION PSC
-R n Increment by _n on each new output row.
-C n Increment by _n on each new output column.
-n n Output _n rows before advancing to the next column.
This option is used when the input is arranged in a
single column and the spread sheet is to have multiple
columns, each of which is to be length _n.
-d c Use the single character _c as the delimiter between
input fields.
-P Plain numbers only. A field is a number only when
there is no imbeded [-+eE].
-S All numbers are strings.
-v Print the version of psc
SSEEEE AALLSSOO
sc(1)
AAUUTTHHOORR
Robert Bond
Sprite v1.0 2